package com.macro.mall.tiny.service;

import com.macro.mall.tiny.common.api.CommonResult;

/**
 * 会员管理UmsMemberService
 */
public interface UmsMemberService {
    /**
     * 生成验证码
     * @return
     */
    public CommonResult generateAuthCode(String telephone);

    /**
     * 验证码是否与手机号匹配
     * @param telephone
     * @param authCode
     * @return
     */
    public CommonResult verifyAuthCode(String telephone, String authCode);

}
